package cn.iocoder.yudao.module.trade.controller.admin.fruitcard.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotNull;
import lombok.*;
import java.time.LocalDateTime;

@Schema(description = "管理后台 - 水果卡 Response VO")
@Data
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
public class FruitCardRespVO extends FruitCardBaseVO {

    @Schema(description = "ID", requiredMode = Schema.RequiredMode.REQUIRED)
    private Long id;

    @Schema(description = "创建时间", requiredMode = Schema.RequiredMode.REQUIRED)
    private LocalDateTime createTime;

    @Schema(description = "总数量", requiredMode = Schema.RequiredMode.REQUIRED)
    private Integer totalCount;


    @Schema(description = "激活数量", requiredMode = Schema.RequiredMode.REQUIRED)
    private Integer activeCount;


    @Schema(description = "价格（元）", requiredMode = Schema.RequiredMode.REQUIRED)
    private String priceYuan;

    @Schema(description = "卡片类型，关联字典表", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotNull(message = "卡片类型，关联字典表不能为空")
    private String cardTypeLabel;

    @Schema(description = "关联水果品种名称", requiredMode = Schema.RequiredMode.REQUIRED)
    private String fruitTypeName;
}
